#if defined (_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

#include "dllmain.h"
#include "DateTime.h"

//COleCurrency vartocy(const _variant_t& var);

class CVariant : public _variant_t
{
public:
    CVariant(void){}
    CVariant(const _variant_t & var){
        _variant_t::operator = (var);
    }

    CDateTime ToDateTime(void);
    double    ToDouble(void);
    bool      ToBool(void);
    char      ToChar(void);
    int       ToInt(void);
    long      ToLong(void);

    fuString AsBinary(void);
    fuString AsString(void);
};
